package com.spark.incoicings.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spark.incoicings.vo.SalesReturnVO;
import com.spark.invoicings.entity.SalesReturn;
import com.spark.invoicings.utils.Result;

import java.util.List;
import java.util.Map;

public interface SalesReturnService extends IService<SalesReturn> {


    /**
     * 统计近两年销售退款支出
     * @return
     */
    Result selectSalesReturnCount();
    /**
     * 查询所有退货单
     */
    List<SalesReturn> selectSalesReturnAll(Map<String,Object> map);
}
